From: Jasper St. Pierre Date: Thu, 21 Feb 2013 21:43:28 +0000 (-0500) Subject: layout: Adjust the pressure barrier threshold values X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4633 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=476eacd5ca1167e70ca536d9a533c381573cd786;p=gnome-shell.git layout: Adjust the pressure barrier threshold values After a day of experimentation with Cosimo and Jon McCann, we found that this was the best way to do this. https://bugzilla.gnome.org/show_bug.cgi?id=694467 --- diff --git a/js/ui/layout.js b/js/ui/layout.js index 56519b401..ad0ed42d7 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -25,8 +25,8 @@ const DEFAULT_BACKGROUND_COLOR = Clutter.Color.from_pixel(0x2e3436ff); // The message tray takes this much pressure // in the pressure barrier at once to release it. -const MESSAGE_TRAY_PRESSURE_THRESHOLD = 200; // pixels -const MESSAGE_TRAY_PRESSURE_TIMEOUT = 3000; // ms +const MESSAGE_TRAY_PRESSURE_THRESHOLD = 250; // pixels +const MESSAGE_TRAY_PRESSURE_TIMEOUT = 1000; // ms function isPopupMetaWindow(actor) { switch(actor.meta_window.get_window_type()) {